<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* div{
            width: 100px;
            height: 100px;
            padding: 10px;
            margin: 10px;
            border: 1px solid black;
        } */
        span{
            background-color: yellow;
            padding: 10px;
            margin: 10px;
        }
        /* span行内元素只能设置左右的边距，不能设置上下边距 */

        img{
            padding: 10px;
            margin: 10px;
        }
    </style>
</head>
<body>
    <div>

    </div>
    <span>我是span标签</span>
    <div>1111111111111111111</div>


    <img src="touxiang.png" alt="">
    <div>1111111111111111111</div>
</body>
</html>